package com.woniuxy.lrz.carlproject.controller.form.formgoods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("新增/修改商品属性值，接收前端传递参数")
public class GoodsPropertyValueAOUForm {
    @ApiModelProperty("属性值Id")
    private Integer propertyValueId;

    @ApiModelProperty("属性值")
    @NotBlank(message = "属性值不能为空")
    private String propertValue;

    @ApiModelProperty("关联属性名id")
    @NotNull(message = "属性名Id不能为空")
    private Integer propertyId;
}
